<template>
  <div>
    <!-- <HmHeader></HmHeader> -->
    <hm-header></hm-header>
    <HmMain></HmMain>
    <HmFooter></HmFooter>
  </div>
</template>

<script>
/**
 * 1. 创建组件
 * 2. 引入组件
 * 3. 注册
 *      局部注册 components属性：对象
 *      全局注册
 * 4. 使用
 */
import HmHeader from "./components/hm-header.vue";
import HmMain from "./components/HmMain.vue";
import HmFooter from "./components/HmFooter.vue";
export default {
  components: {
    HmHeader,
    HmMain,
    HmFooter: HmFooter, // 完整写法
  },
};
</script>

<style>
</style>